/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.jeff.springmvcstudy.ui;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @author jeff
 */
public class HelloJSON implements Serializable {
    private String target;
    private Date requestDate;
    private boolean flag;
    private String extraInfo;

    public HelloJSON() {
    }

    public HelloJSON(String target, Date requestDate, String extraInfo) {
        this.target = target;
        this.requestDate = requestDate;
        this.flag = true;
        this.extraInfo = extraInfo;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public Date getRequestDate() {
        return requestDate;
    }

    public void setRequestDate(Date requestDate) {
        this.requestDate = requestDate;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public String getExtraInfo() {
        return extraInfo;
    }

    public void setExtraInfo(String extraInfo) {
        this.extraInfo = extraInfo;
    }
    
}
